package com.springboot.service;

import com.springboot.dto.HealthRecordDTO;
import com.springboot.vo.PageVO;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;

import java.util.Date;

/**
 * @author: lzh
 */
public interface HealthRecordService {
    /**
     * @descrition:  扫码后记录住户
     * @param healthRecordDTO :
     * @return : void
     */
    void addHealthRecord(HealthRecordDTO healthRecordDTO);

    /**
     * @descrition:  小程序获取扫码记录列表
     * @param pageNum : 
     * @param pageSize :
     * @param keywords :
     * @param time :
     * @return : com.springboot.vo.PageVO
     */
    PageVO getHealthRecordList(Integer pageNum, Integer pageSize, String keywords, Date time);

    /**
     * @descrition:  后台获取扫码记录列表
     * @param pageNum :
     * @param pageSize :
     * @param keywords :
     * @param begin :
     * @param end :
     * @return : com.springboot.vo.PageVO
     */
    PageVO adminGetHealthRecordList(Integer pageNum, Integer pageSize, String keywords, Date begin, Date end);

    /**
     * @descrition:  获取微信用户记录execl表格
     * @return : org.apache.poi.hssf.usermodel.HSSFWorkbook
     */
    HSSFWorkbook dowloadExecl();
}
